import { get, post, remove, put } from '@/server/request'
import { baseApi, RequestCode ,download} from '@/server/base'

export const dataStrengthen={
    getDataStrengthen(params:{current:number,size:number}){
        return get(`${baseApi}/imageBoss/list/${params.current}/${params.size}`);  
       },
       imageBoss(params:{dataType:number|string,inputPhotoId:number|string,method:string,outputPhotoId:number|string,politic:number|string,type:number|string}){
        return post(`${baseApi}/imageBoss/save`,params);   
       },
       imageBossStart(id:number|string){
        return post(`${baseApi}/imageBoss/start/${id}`);   
       },
       deleteImageBoss(id:number|string){
        return remove(`${baseApi}/imageBoss/remove/${id}`);    
       },
       queryLike(val:string){
        return get(`${baseApi}/imageBoss/queryLike/${val}`);  
       }
}
